import org.apache.hadoop.conf.Configuration;

public class ConfigrationTest {

	public static void main(String[] args) {
		
		Configuration conf = new Configuration();
		conf.addResource("config.xml");
		conf.addResource("config2.xml");

		System.out.println(conf.get("size"));
		System.out.println(conf.get("weight"));
		System.out.println(conf.getInt("age", 100));
		
		System.out.println(conf.get("size2"));
		System.out.println(conf.get("weight2"));
	}
}
